import request from '@/utils/request'

// 查询shopReport列表
export function listShopReport(query) {
  return request({
    url: '/api/shopReport/list',
    method: 'get',
    params: query
  })
}

// 查询shopReport详细
export function getShopReport(id) {
  return request({
    url: '/api/shopReport/' + id,
    method: 'get'
  })
}

// 新增shopReport
export function addShopReport(data) {
  return request({
    url: '/api/shopReport',
    method: 'post',
    data: data
  })
}

// 修改shopReport
export function updateShopReport(data) {
  return request({
    url: '/api/shopReport',
    method: 'put',
    data: data
  })
}

// 删除shopReport
export function delShopReport(id) {
  return request({
    url: '/api/shopReport/' + id,
    method: 'delete'
  })
}
